package com.aoip.telemetry.telemetry.datastorage.service.impl;

import com.aoip.telemetry.telemetry.datastorage.mapper.LogMapper;
import com.aoip.telemetry.telemetry.datastorage.service.LogService;
import com.aoip.telemetry.telemetry.entity.common.LogEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author chenbai
 * @version 1.0
 * @date 2021/11/26 11:34
 */
@Service
public class LogServiceImpl implements LogService {

    @Resource
    private LogMapper logMapper;

    @Override
    public void saveLog(LogEntity logEntity) {

        logMapper.insert(logEntity);
    }
}
